package com.whut.service;

import com.whut.model.Project;
import com.whut.v_vo.ProjectBuildVO;

import java.util.List;

public interface ProjectService {

    List<Project> all();

    Project findProjectById(Integer projectId);

    Project saveProject(Project project);

    Project modifyProject(Project project);

    List<ProjectBuildVO> projectBuilds(Integer projectId);

    ProjectBuildVO findProjectBuildById(Integer buildId);

    ProjectBuildVO saveProjectBuild(ProjectBuildVO request);

    ProjectBuildVO modifyProjectBuild(ProjectBuildVO request);

    ProjectBuildVO deleteByProjectBuildId(Integer buildId);


}
